<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$ti.ti|truncate:50:'...'}>-一题库</title>
<meta name="keywords" content="<{$ti.ti|truncate:30:''}>,解答,答案,IT笔试题目,IT面试题目"/>
<meta name="description" content="<{$ti.ti|truncate:50:'...'}>分析,讨论"/>
<link href="/static/bst/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/static/kd/kindeditor-min.js"></script>

</head>

<body>
<{include file="wiget/navbar.tpl"}>
<div id='left'>
</div>
<div id='content'>
	<div class="well">
	  <div><{$ti.ti}></div>
	</div>

	<label class="label">问题答案和相关讨论:</label>
  <div class="well">
	<form class="form-horizontal"  accept-charset="utf-8" autocomplete="on"  method="post" action="/post/re_ti">
	  <div class="control-group">
		<label class="label">讨论:</label>
       <div class="controls">
		<textarea name="re_content" class="editor span8" rows="4" placeholder="讨论此题目"></textarea>
        <button type="submit" name="op" value="vol" class="btn btn-primary">提交</button>
       </div>
	  </div>
	  <div class="hide"><input name="ti_id" value="<{$ti.id}>" /></div>
	</form>
	
	<div>
	  <ul>
	    <{foreach $replys as $v}>
	    <li><{$v.content}>
	    </li>
	    <{/foreach}>
	  </ul>
	</div>
	<div class="pagination pagination-centered">
		<ul>
		<{page2 page=$page r='ti/detail' id=$ti.id}>
		</ul>
	</div>
  </div>

</div>
<div class="">
</div>

<script>
        var editor;
        KindEditor.ready(function(K) {
                editor = K.create('.editor',{items : ['bold', 'italic', 'underline', 'strikethrough', 'removeformat', '|', 'justifyleft', 'justifycenter', 'formatblock', 'insertorderedlist', 'insertunorderedlist', '|','subscript','superscript', 'about','clearhtml', 'code', '|','link', 'unlink', 'emoticons', 'shcode', 'image', 'table', 'quote', '|', 'source', 'fullscreen']});
                editor_en = K.create('#content_en',{items : ['bold', 'italic', 'underline', 'strikethrough', 'removeformat', '|', 'justifyleft', 'justifycenter', 'formatblock', 'insertorderedlist', 'insertunorderedlist', '|','subscript','superscript', 'about','clearhtml', 'code', '|','link', 'unlink', 'emoticons', 'shcode', 'image', 'table', 'quote', '|', 'source', 'fullscreen']});
        });
</script>

<{include file="wiget/footer.tpl"}>